package com.ai.module.order.domain.entity;

import com.ai.module.chat.common.domain.BaseEntity;
import com.ai.module.order.en.UserServiceType;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: MrHe
 * @create: 2024-02-04 23:52
 * @description: 商户服务
 **/
@Data
@ApiModel("商户服务")
@TableName("business_service")
public class BusinessServiceEntity extends BaseEntity {

    /**
     * 服务类型
     */
    @ApiModelProperty("服务类型,积分充值和 VIP开通")
    @TableField(value="service_type",fill = FieldFill.INSERT)
    UserServiceType serviceType;

    /**
     * 服务类型
     */
    @ApiModelProperty("服务描述")
    @TableField(value="business_desc",fill = FieldFill.INSERT)
    String businessDesc;

    @ApiModelProperty("原始价位")
    @TableField(value="original_money",fill = FieldFill.INSERT)
    Integer originalMoney;

    @ApiModelProperty("当前价位")
    @TableField(value="current_money",fill = FieldFill.INSERT)
    Integer currentMoney;

    @TableField(value="points",fill = FieldFill.INSERT)
    Integer points;

    @TableField(value="status",fill = FieldFill.INSERT)
    Integer status;


}
